<style>
    /*#hazardTypeOperation-edit .layui-form-label{*/
    /*    width: 110px;*/
    /*}*/
    /*#hazardTypeOperation-edit .layui-input-block{*/
    /*    margin-left: 140px;*/
    /*}*/
</style>
<div class="febs-container" id="hazardTypeOperation-edit">
    <div class="febs-open-body">
        <form class="layui-form" action="" lay-filter="hazardTypeOperation-edit-form">
            <div class="layui-form-item febs-hide">
                <label class="layui-form-label febs-form-item-require">主键：</label>
                <div class="layui-input-block">
                    <input type="text" name="typeOperationId" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label febs-form-item-require">类型名称：</label>
                <div class="layui-input-block">
                    <input type="text" name="typeName" autocomplete="off" class="layui-input"
                           maxlength="150" placeholder="请输入隐患类型名称" lay-verify="required">
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-col-xs6">
                    <label class="layui-form-label febs-form-item-require">类型排序：</label>
                    <div class="layui-input-block">
                        <input type="number" name="sort" autocomplete="off" value="1" class="layui-input"
                               lay-verify="number|required" placeholder="请输入排序" >
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <label class="layui-form-label febs-form-item-require" style="width: 110px;">是否重大事故：</label>
                    <div class="layui-input-block">
                        <input type="checkbox" id="majorAccidentFlg" name="majorAccidentFlg" lay-skin="switch"
                               lay-text="是|否"
                               lay-filter="majorAccidentFlg">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-col-xs6">
                    <label class="layui-form-label febs-form-item-require">类型状态：</label>
                    <div class="layui-input-block">
                        <input type="checkbox" id="status" name="status" lay-skin="switch" lay-text="启用|禁用"
                               lay-filter="status">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label ">类型备注：</label>
                <div class="layui-input-block">
                                    <textarea name="remark" maxlength="800" class="layui-textarea"
                                              placeholder="请输入备注"></textarea>
                </div>
            </div>

            <div class="layui-form-item febs-hide">
                <button class="layui-btn" lay-submit="" lay-filter="hazardTypeOperation-edit-form-submit"
                        id="submit"></button>
                <button type="reset" class="layui-btn" id="reset"></button>
            </div>
        </form>
    </div>
</div>
<script data-th-inline="javascript">
    var hazardTypeOperationData = [[${hazardTypeOperation}]];
</script>
<script th:src="@{/febs/js/hazard/hazardTypeOperation/hazardTypeOperationEdit.js(v=1)}"></script>